﻿@model List<CodeCamp.Models.Sessions.SessionPresenters.Presenter>
<div class="presenter-name">
@{
    var comma = ", ";
    if (@Model.Count == 1)
    {
        <b>Presenter:</b>
    }
    else
    {
        <b>Presenters:</b>
    }
    var firstPresenter = true;
    foreach(var presenter in @Model)
    {
        if (!firstPresenter) {@comma}
        else { firstPresenter = false; }
        @Html.ActionLink(@presenter.Name, "Details", "Presenters", new { id = presenter.Id }, null)
    }
}
</div>

